package com.hq.common.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import java.util.Properties;

/**

 * @since 2015-02-05 19:55
 */
@Repository
public class EnvParamDao {

    @Autowired
    @Qualifier("sysEnv")
    private Properties sysEnv;

    public String getEnvParam(String key) {
        return sysEnv.getProperty(key);
    }

}
